import json

import xmind

"""json转xmind"""
def json_to_xmind(json_data, xmind_file):
    # 创建一个新的XMind工作簿
    workbook = xmind.load(r'C:/Users/yangjianzhang/Desktop/output.xmind')

    # 获取第一个工作表
    firstsheet = workbook.getPrimarySheet()

    # 获取画布中心主题
    root_topic1 = firstsheet.getRootTopic()

    # 给中心主题设置名字为接口测试用例
    root_topic1.setTitle("FR_SW_JOB_COST")

    # 将JSON数据转换为字典
    data_dict = json.loads(json_data)

    # 递归地将字典添加到XMind工作表中
    add_dict_to_sheet(firstsheet, data_dict, root_topic1)

    # 保存XMind文件
    xmind.save(workbook=workbook, path=r'C:/Users/yangjianzhang/Desktop/output.xmind')  # 保存xmind


def add_dict_to_sheet(sheet, data_dict, parent_topic=None):
    for t in data_dict:
        dep = t['dependencies']
        ref_name = t['REFERENCED_NAME']
        topic = parent_topic.addSubTopic()
        topic.setTitle(ref_name)
        if len(dep) > 0:
            add_dict_to_sheet(sheet, dep, topic)


# 示例JSON数据
json_data = '''
[{"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COST", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SW_JOB_COSTING_FEED", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [85], "first_line": 85, "dependencies": [{"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_FEED", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_MTC100_INS_ACC_TRN_MATERIAL", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [38], "first_line": 38, "dependencies": [{"DEPENDENCY_TYPE": "HARD", "NAME": "FR_MTC100_INS_ACC_TRN_MATERIAL", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_MTC110_GEN_MATERIAL_BAL", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [344], "first_line": 344, "dependencies": []}]}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_FEED", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_MTC200_CAL_MATERIAL_COST", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [41], "first_line": 41, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_FEED", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_MTC300_INS_ACC_TRN_FEDMED", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [43], "first_line": 43, "dependencies": []}]}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COST", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SW_JOB_COSTING_MED_VT", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [102], "first_line": 102, "dependencies": [{"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_MED_VT", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_MTC100_INS_ACC_TRN_MATERIAL", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [18], "first_line": 18, "dependencies": [{"DEPENDENCY_TYPE": "HARD", "NAME": "FR_MTC100_INS_ACC_TRN_MATERIAL", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_MTC110_GEN_MATERIAL_BAL", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [344], "first_line": 344, "dependencies": []}]}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_MED_VT", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_MTC201_CHECK_MATERIAL_QW", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [20], "first_line": 20, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_MED_VT", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_MTC200_CAL_MATERIAL_COST", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [23], "first_line": 23, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_MED_VT", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_MTC300_INS_ACC_TRN_FEDMED", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [25], "first_line": 25, "dependencies": []}]}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COST", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [115], "first_line": 115, "dependencies": [{"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SP_SW_TO_ACC_TRN_BREED_100", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [100], "first_line": 100, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SP_SW_TO_ACC_TRN_BREEDER", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [101], "first_line": 101, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_AIC101_INS_ACC_TRN_AI_TH", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [119, 191], "first_line": 119, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC430_CAL_COS_AI_USE_TH", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [120, 121, 194, 195], "first_line": 120, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC430_CAL_COS_AI_USE_TH_2", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [121, 195], "first_line": 121, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC430_CAL_COS_AI_CODE_TH", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [122, 196], "first_line": 122, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC430_CAL_COS_AI_BAL_TH", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [123, 197], "first_line": 123, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC200_CAL_CF_FINISH", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [135], "first_line": 135, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC200_CAL_CF_BREED", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [136], "first_line": 136, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC300_CAL_TRN_HEADDAY", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [138, 139], "first_line": 138, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC300_CAL_TRN_HEADDAY_BRD", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [139], "first_line": 139, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC300_CAL_BASE_HEADDAY", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [141], "first_line": 141, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC300_CAL_BASE_FARROW", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [142], "first_line": 142, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC300_CAL_BASE_FEEDWGH", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [143], "first_line": 143, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC310_CAL_EXPENSE_COMP", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [144], "first_line": 144, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC310_CAL_SHARE_COMP_FR", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [147], "first_line": 147, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC310_CAL_MONTHLY_COMP", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [148], "first_line": 148, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "V1_SWC420_CAL_FINISH_BREED", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [159], "first_line": 159, "dependencies": [{"DEPENDENCY_TYPE": "HARD", "NAME": "V1_SWC420_CAL_FINISH_BREED", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC421_CLEAR_WRK_FINISH_TH", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [138], "first_line": 138, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "V1_SWC420_CAL_FINISH_BREED", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC421_GEN_WRK_FINISH", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [140], "first_line": 140, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "V1_SWC420_CAL_FINISH_BREED", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC499_CAL_HEADDAY_BAL", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [179], "first_line": 179, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "V1_SWC420_CAL_FINISH_BREED", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC499_COST_COMP_PER_HDAY", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [180], "first_line": 180, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "V1_SWC420_CAL_FINISH_BREED", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC499_CAL_QTY_BAL", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [181], "first_line": 181, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "V1_SWC420_CAL_FINISH_BREED", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC422_UPDATE_QTY_BAL_WIP", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [183], "first_line": 183, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "V1_SWC420_CAL_FINISH_BREED", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC499_COST_COMP_PER_QTY", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [185], "first_line": 185, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "V1_SWC420_CAL_FINISH_BREED", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC499_FIND_FINISH_QTY_BAL", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [246], "first_line": 246, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "V1_SWC420_CAL_FINISH_BREED", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC422_SHARE_FARROW_CULL", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [254], "first_line": 254, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "V1_SWC420_CAL_FINISH_BREED", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC422_FINISH_DETAIL_MM", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [264], "first_line": 264, "dependencies": [{"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SWC422_FINISH_DETAIL_MM", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC499_FIND_HEADDAY_BAL", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [71], "first_line": 71, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SWC422_FINISH_DETAIL_MM", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC499_UPDATE_HEADDAY_BAL", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [160], "first_line": 160, "dependencies": []}]}, {"DEPENDENCY_TYPE": "HARD", "NAME": "V1_SWC420_CAL_FINISH_BREED", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC422_FINISH_DETAIL_BF", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [271], "first_line": 271, "dependencies": [{"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SWC422_FINISH_DETAIL_BF", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC422_UPDATE_QTY_BAL", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [167], "first_line": 167, "dependencies": []}]}, {"DEPENDENCY_TYPE": "HARD", "NAME": "V1_SWC420_CAL_FINISH_BREED", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC422_FINISH_DETAIL_WIP", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [282], "first_line": 282, "dependencies": [{"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SWC422_FINISH_DETAIL_WIP", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC422_UPDATE_QTY_BAL", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [181], "first_line": 181, "dependencies": []}]}, {"DEPENDENCY_TYPE": "HARD", "NAME": "V1_SWC420_CAL_FINISH_BREED", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC422_FINISH_HEADER", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [290], "first_line": 290, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "V1_SWC420_CAL_FINISH_BREED", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC422_FINISH_TO_FINISH_TF", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [298], "first_line": 298, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "V1_SWC420_CAL_FINISH_BREED", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC423_COST_COMP_PER_QTY", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [310], "first_line": 310, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "V1_SWC420_CAL_FINISH_BREED", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC422_FINISH_TO_BREED_TF", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [322], "first_line": 322, "dependencies": []}]}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC420_CAL_BREEDER", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [162], "first_line": 162, "dependencies": [{"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SWC420_CAL_BREEDER", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC200_CAL_CF_BREED", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [112], "first_line": 112, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SWC420_CAL_BREEDER", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC421_CLEAR_WRK_BREED", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [127], "first_line": 127, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SWC420_CAL_BREEDER", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC421_GEN_WRK_BREED", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [128], "first_line": 128, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SWC420_CAL_BREEDER", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC499_FIND_BREED_QTY_BAL", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [153], "first_line": 153, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SWC420_CAL_BREEDER", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC422_CAL_BREED_DEP", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [159], "first_line": 159, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SWC420_CAL_BREEDER", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC422_BREED_TO_BREED_TF", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [169], "first_line": 169, "dependencies": []}]}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC310_CAL_SHARE_COMP_MATE", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [165], "first_line": 165, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC430_CAL_COS_AI_PRO_TH", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [193], "first_line": 193, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC430_UPD_NON_AI_PRODUCE", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [204], "first_line": 204, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC310_CAL_SHARE_COMP_FAR", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [206], "first_line": 206, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC420_CAL_FARROW", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [213], "first_line": 213, "dependencies": [{"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SWC420_CAL_FARROW", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC499_COST_COMP_PER_FARROW", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [123], "first_line": 123, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SWC420_CAL_FARROW", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC422_FARROW_DETAIL", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [148], "first_line": 148, "dependencies": [{"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SWC422_FARROW_DETAIL", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC499_FIND_FARROW_BAL", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [68], "first_line": 68, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SWC422_FARROW_DETAIL", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC499_UPDATE_FARROW_BAL", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [156], "first_line": 156, "dependencies": []}]}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SWC420_CAL_FARROW", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC422_FARROW_HEADER", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [155], "first_line": 155, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SWC420_CAL_FARROW", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC422_FARROW_WRKBAL", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [161], "first_line": 161, "dependencies": []}]}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "V1_SWC420_CAL_FARROW_CULL", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [216], "first_line": 216, "dependencies": [{"DEPENDENCY_TYPE": "HARD", "NAME": "V1_SWC420_CAL_FARROW_CULL", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC499_COST_COMP_PER_QTY_2", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [107], "first_line": 107, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "V1_SWC420_CAL_FARROW_CULL", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC499_FIND_FINISH_QTY_BAL", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [132], "first_line": 132, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "V1_SWC420_CAL_FARROW_CULL", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC422_FAR_CULL_DETAIL_MM", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [137], "first_line": 137, "dependencies": [{"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SWC422_FAR_CULL_DETAIL_MM", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC499_FIND_HEADDAY_BAL", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [71], "first_line": 71, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SWC422_FAR_CULL_DETAIL_MM", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC499_UPDATE_HEADDAY_BAL", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [157], "first_line": 157, "dependencies": []}]}, {"DEPENDENCY_TYPE": "HARD", "NAME": "V1_SWC420_CAL_FARROW_CULL", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC422_FAR_CULL_DETAIL_BF", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [144], "first_line": 144, "dependencies": [{"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SWC422_FAR_CULL_DETAIL_BF", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC422_UPDATE_QTY_BAL", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [166], "first_line": 166, "dependencies": []}]}, {"DEPENDENCY_TYPE": "HARD", "NAME": "V1_SWC420_CAL_FARROW_CULL", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC422_FAR_CULL_HEADER", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [151], "first_line": 151, "dependencies": []}]}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC440_GEN_COMP_PER_CULL", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [219], "first_line": 219, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "V1_SWC420_CAL_FARROW_FINISH", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [226], "first_line": 226, "dependencies": [{"DEPENDENCY_TYPE": "HARD", "NAME": "V1_SWC420_CAL_FARROW_FINISH", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC499_FIND_FINISH_QTY_BAL", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [138], "first_line": 138, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "V1_SWC420_CAL_FARROW_FINISH", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC422_SHARE_FARROW_CULL", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [144], "first_line": 144, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "V1_SWC420_CAL_FARROW_FINISH", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC422_FINISH_DETAIL_MM", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [152], "first_line": 152, "dependencies": [{"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SWC422_FINISH_DETAIL_MM", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC499_FIND_HEADDAY_BAL", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [71], "first_line": 71, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SWC422_FINISH_DETAIL_MM", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC499_UPDATE_HEADDAY_BAL", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [160], "first_line": 160, "dependencies": []}]}, {"DEPENDENCY_TYPE": "HARD", "NAME": "V1_SWC420_CAL_FARROW_FINISH", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC422_FINISH_DETAIL_BF", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [159], "first_line": 159, "dependencies": [{"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SWC422_FINISH_DETAIL_BF", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC422_UPDATE_QTY_BAL", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [167], "first_line": 167, "dependencies": []}]}, {"DEPENDENCY_TYPE": "HARD", "NAME": "V1_SWC420_CAL_FARROW_FINISH", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC422_FINISH_HEADER", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [166], "first_line": 166, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "V1_SWC420_CAL_FARROW_FINISH", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC422_FINISH_TO_FINISH_TF", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [174], "first_line": 174, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "V1_SWC420_CAL_FARROW_FINISH", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC423_COST_COMP_PER_QTY", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [186], "first_line": 186, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "V1_SWC420_CAL_FARROW_FINISH", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC422_FINISH_TO_BREED_TF", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [192], "first_line": 192, "dependencies": []}]}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC450_UPD_BAL_COS", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [228], "first_line": 228, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "V1_SWC420_CAL_BAL_CULL", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [232], "first_line": 232, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC500_GEN_FAR_CULL_FINISH", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [234], "first_line": 234, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC900_GEN_COST_WIP", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [238], "first_line": 238, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC900_FINISHER_END_1", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [246], "first_line": 246, "dependencies": [{"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SWC900_FINISHER_END_1", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC900_FINISHER_END_2", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [57], "first_line": 57, "dependencies": []}]}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC900_FARROW_END", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [250], "first_line": 250, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC900_FINISHER_CULL", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [253], "first_line": 253, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC900_GEN_PROFIT_LOSS_BL4", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [265], "first_line": 265, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC900_GEN_PROFIT_LOSS_BL6", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [266], "first_line": 266, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC901_GEN_PRO_LOSS_FARMORG", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [278], "first_line": 278, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC902_GEN_PRO_LOSS_FARMORG", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [279], "first_line": 279, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC901_GEN_PRO_LOSS_TR2_BL4", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [284], "first_line": 284, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC901_GEN_PRO_LOSS_TR2_BL6", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [285], "first_line": 285, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC901_GEN_PROFIT_LOSS_REP1", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [291], "first_line": 291, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SWC950_GEN_NEXT_MONTH_TH", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [294], "first_line": 294, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COSTING_SWINE", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SW_JOB_CLOSE_FINISH_GROUP", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [295], "first_line": 295, "dependencies": [{"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_CLOSE_FINISH_GROUP", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_MS_SWG100_GEN_CLOSE_GROUP", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [79], "first_line": 79, "dependencies": []}]}]}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COST", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_MIS_AC_JOB_WEB1_BY_ACC", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [117], "first_line": 117, "dependencies": [{"DEPENDENCY_TYPE": "HARD", "NAME": "FR_MIS_AC_JOB_WEB1_BY_ACC", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SW_BI_GEN_COST_FAR", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [45], "first_line": 45, "dependencies": []}]}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COST", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SW_JOB_GEN_REF", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [131], "first_line": 131, "dependencies": [{"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_GEN_REF", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SW_SP_GEN_REF", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [14, 15], "first_line": 14, "dependencies": []}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_GEN_REF", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SW_SP_GEN_REF_SHARE", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [15], "first_line": 15, "dependencies": []}]}, {"DEPENDENCY_TYPE": "HARD", "NAME": "FR_SW_JOB_COST", "REFERENCED_LINK_NAME": null, "REFERENCED_NAME": "FR_SW_JOB_CHECK_COST_COMPLETE", "REFERENCED_OWNER": "PIGPOS", "REFERENCED_TYPE": "PROCEDURE", "SCHEMAID": 136, "TYPE": "PROCEDURE", "line_list": [179], "first_line": 179, "dependencies": []}]
'''

"""将文档导入腾讯文档，再下载出来才能在本机xmind打开，最好在另存一份，否则会出现发给别人显示加密"""
if __name__ == '__main__':
    # 转换JSON数据并保存为XMind文件
    json_to_xmind(json_data, "C:/Users/yangjianzhang/Desktop/output.xmind")
